package com.tarena.lbs.mapper;

import com.tarena.lbs.entity.CouponStock;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CouponStockMapper {
    CouponStock getStockByCouponId(Integer couponId);
    int updateStock(Integer couponId, Integer num);
}